package com.qbccn.userservice.mapper;

import com.qbccn.userservice.domain.SsoRoleUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author linke
 * @date 2020-03-14 上午 0:38
 * @description
 */
public interface SsoRoleUserMapper {
    int insertSelective(SsoRoleUser record);

    List<SsoRoleUser> get(int userId);

    int update(@Param("roleId") int roleId, @Param("userId") int userId, @Param("status") int status);


}
